package ca.uvic.group2.beans;

//import java.io.Serializable;

public class QuoteBean 
{
	private String stock;
	private float price;
	private long timeStamp;
	private String key;

// not sure if needed in EJB	
//	public long expiry;
//	public String username;
    
	public QuoteBean(QuoteBean src) 
	{
		setStock(src.stock);
		setPrice(src.price);
		setTimeStamp(src.timeStamp);
		setKey(src.key);
//		this.expiry = src.expiry;
//		this.username = src.username;
	}

	public String getStock()
	{
		return this.stock;
	}
	public void setStock(String stock)
	{
		this.stock = stock;
	}

	public float getPrice()
	{
		return this.price;
	}
	public void setPrice(float price)
	{
		this.price = price;
	}

	public long getTimeStamp()
	{
		return this.timeStamp;
	}
	public void setTimeStamp(long timeStamp)
	{
		this.timeStamp = timeStamp;
	}

	public String getKey()
	{
		return this.key;
	}
	public void setKey(String key)
	{
		this.key = key;
	}
}
